<?php
if (!defined ('TYPO3_MODE')) {
	die ('Access denied.');
}
$TYPO3_CONF_VARS['FE']['eID_include']['ifpAjaxDispatcher'] = t3lib_extMgm::extPath('ifp_curriculum2').'Classes/Utility/Ajax/Dispatcher.php';

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_modul',
	array(
		'Modul' => 'list, show',
		'Kursstamm' => 'list, show',
		'Kurs' => 'list, show',
		'Dozent' => 'list, show',
		'Veranstaltung' => 'list, show',
		'Gegenstandskatalog' => 'list, show',
		'Veranstaltungstag' => 'list, show',
		'Veranstaltungsort' => 'list, show',
		'Anmeldung' => 'list, show, new, create, edit, update, delete',
		'Ausbildungsschema' => 'list, show ',
		'Teilnehmer' => 'new, edit, update,create',
	),
	array(
		
		'Anmeldung' => 'create, update, delete',
		'Teilnehmer' => 'create',
		
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_kurs',
	array(
		'Kursstamm' => 'list, show',
		'Modul' => 'list, show',
		
		'Kurs' => 'list, show',
		'Dozent' => 'list, show',
		'Veranstaltung' => 'list, show',
		'Gegenstandskatalog' => 'list, show',
		'Veranstaltungstag' => 'list, show',
		'Veranstaltungsort' => 'list, show',
		'Anmeldung' => 'list, show, new, create, edit, update, delete',
		'Ausbildungsschema' => 'list, show ',
		'Teilnehmer' => 'new,edit, update, create',
	),
	array(
		
		'Anmeldung' => 'create, update, delete',
		'Teilnehmer' => 'create',
		
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_dozent',
	array(
		'Dozent' => 'list, show',
		
		
	),
	array(
		
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_veranstaltung',
	array(
		'Veranstaltung' => 'list, show',
		'Veranstaltungsort' => 'list, show',
		'Dozent' => 'list, show',
		'Anmeldung' => 'list, show, new, create',
		'Kurs' => 'list, show',
		'Kursstamm' => 'list, show',	
		'Teilnehmer' => 'new,edit, update, create',
	),
	array(
		'Veranstaltung' => 'create, update, delete',
		'Veranstaltungsort' => 'create, update, delete',
		'Anmeldung' => 'create, update, delete',
		'Teilnehmer' => 'create',
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_cal',
	array(
		'Kalender'=>'list,show',
	),
	array(
		
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_profil',
	array(
		'Anmeldung' => 'list, show, new, create, edit, update, delete',
		'Modul' => 'list, show',
		'Kursstamm' => 'list, show',
		'Kurs' => 'list, show ',
		'Dozent' => 'list, show',
		'Veranstaltung' => 'list, show ',
		'Gegenstandskatalog' => 'list, show',
		'Veranstaltungsort' => 'list, show',
		
		'Ausbildungsschema' => 'list, show',
		
	),
	array(
		'Anmeldung' => 'create, update, delete',
	)
);

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'C_admin',
	array(
		'Veranstaltung' => 'adminlist, adminshow,admindelete,generateAnmeldeliste,sign,dosign, list,show, new, create, edit, update, delete',
		'Modul' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Kursstamm' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Kurs' => ' adminshow, new, newversion,togglestatus,list,show, createnewversion,create, edit, update, delete',
		'Dozent' => 'adminlist, adminshow, new,list,show, create, edit, update, delete',
	
		'Gegenstandskatalog' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Veranstaltungstag' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Veranstaltungsort' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Anmeldung' => ' adminshow,adminnew,list,show, new, admincreate, adminupdate,create,adminedit, edit, update, delete',
		'Ausbildungsschema' => 'adminlist, adminshow,list,show, new, create, edit, update, delete',
		'Teilnehmer' => 'adminlist, adminshow, new, create, edit, update, delete',
	),
	array(
		'Modul' => 'create, update, delete',
		'Kursstamm' => 'create, update, delete',
		'Kurs' => 'create, update, delete',
		'Dozent' => 'create, update, delete',
		'Veranstaltung' => 'create, update, delete',
		'Gegenstandskatalog' => 'create, update, delete',
		'Veranstaltungstag' => 'create, update, delete',
		'Veranstaltungsort' => 'create, update, delete',
		'Anmeldung' => 'create, update, delete',
		'Ausbildungsschema' => 'create, update, delete',
		
	)
);

?>